package com.example.aircraftticketingsystemserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDTO {
    private String flightNumber;
    private String departureCity;
    private String arrivalCity;
    private String departureAirport;
    private String arrivalAirport;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date departureTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arrivalTime;
    private String airline;
    private String flightStatus;
    private Integer price;
    private Integer ticketId;
    private Integer flightId;
    private Integer orderId;
    private String ticketType;
    private Integer passengerId;
    private Integer userId;
    private String passengerNumber;
    private String passengerName;
    private String bookingTime;
    private String orderStatus;
}
